const express=require('express')
const {data}=require('./mock/index')

const app=express()
app.use(express.static('../src'))
app.post('/api/list',(req,res)=>{
    res.send({
        code:200,
        data
    })
})

app.listen(8080)